// import '../style/index.less';
// // console.log('hello ts');
// import Food from './modules/Food';
// import ScorePanel from './modules/ScorePanel';
// import Snake from './modules/snake';







// 引入样式
import '../style/index.less'

// import Food from './modules/Food';
// const food =  new Food();
// console.log(food.X, food.Y);
// food.change();
// console.log(food.X, food.Y);

import GameControl from "./modules/GameControl";
let gameControl= new GameControl();

// setInterval(()=>{
//     console.log(gameControl.direction);
// }, 1000);